<?php
session_start();
error_reporting(0);
include_once 'comm/config.php';
include_once 'comm/wjt.php';
include_once 'comm/class_db.php';
include_once 'comm/checkpostandget.php';

$id =(int)$_GET['id'];
if($id==0){
    exit(ERR404);
}
$good=sel_sql('dhlist','id,name,pic,money,jifen,num,content,num','id="'.$id.'"');

$q = "SELECT * FROM ".$BIAOTOU."user where ddusername='".$_SESSION['duoduouser']."' limit 1";
$rs = mysql_query($q);
while($row = mysql_fetch_object($rs)) {
    $dhstate=$row->dhstate;
    $tbusername=$row->tbusername;
    $mobile=$row->mobile;
    $qq=$row->qq;
    $email=$row->email;
}

$pagetag="huangou";
$tag="huan";
include_once 'comm/seo.php';
include_once 'comm/seo.php';

//引入模版文件
include 'template/'.MOBAN.'/huangou.tpl.php';
mysql_close($cfg_link);
?>